Method and system for handling sensitive data in a content delivery network

ABSTRACT

Using cryptographic techniques, sensitive data is protected against disclosure in the event of a compromise of a content delivery network (CDN) edge infrastructure. These techniques obviate storage and/or transfer of such sensitive data, even with respect to payment transactions that are being authorized or otherwise enabled from CDN edge servers.

TECHNICAL FIELD

This application relates generally to the protection of sensitive data,such as credit card information, in a networked environment.

BRIEF DESCRIPTION OF THE RELATED ART

Distributed computer systems are well-known in the prior art. One suchdistributed computer system is a “content delivery network” or “CDN”that is operated and managed by a service provider. The service providertypically provides the content delivery service on behalf of thirdparties. A “distributed system” of this type typically refers to acollection of autonomous computers linked by a network or networks,together with the software, systems, protocols and techniques designedto facilitate various services, such as content delivery or the supportof outsourced site infrastructure. Typically, “content delivery” meansthe storage, caching, or transmission of content, streaming media andapplications on behalf of content providers, including ancillarytechnologies used therewith including, without limitation, DNS queryhandling, provisioning, data monitoring and reporting, contenttargeting, personalization, and business intelligence.

The distributed and shared network infrastructure as described above isused, among other purposes, to deliver content from a plurality of websites. Representative web sites include e-commerce retailers at whichend users may shop and purchase products and services. In the prior art,CDN service providers provide the content delivery for these on-lineretailers but, when it comes time for an end user to complete apurchase, the associated payment services typically are handled by thirdparties. In part, this is because such payment services involve theprocessing and storage of sensitive data, such as end user credit carddata.

BRIEF SUMMARY

Using cryptographic techniques, sensitive data is protected againstdisclosure in the event of a compromise of a content delivery network(CDN) edge infrastructure. These techniques obviate storage and/ortransfer of such sensitive data, even with respect to paymenttransactions that are being authorized or otherwise enabled from CDNedge servers.

The foregoing has outlined some of the more pertinent features of thedisclosed subject matter. These features should be construed to bemerely illustrative. Many other beneficial results can be attained byapplying the disclosed subject matter in a different manner or bymodifying the subject matter as will be described.

BRIEF DESCRIPTION OF THE DRAWINGS

For a more complete understanding of the present invention and theadvantages thereof, reference is now made to the following descriptionstaken in conjunction with the accompanying drawings, in which:

FIG. 1 is a simplified block diagram of a content delivery network (CDN)in which the disclosed techniques herein may be implemented;

FIG. 2 is a simplified block diagram of a representative CDN edgemachine on which the disclosed techniques may be implemented; and

FIG. 3 is a block diagram of an edge server process interacting with amerchant origin server and an third party credit card issuer accordingto the teachings of this disclosure.

DETAILED DESCRIPTION

In a known system, such as shown in FIG. 1, a distributed computersystem 100 is configured as a content delivery network (CDN), and it isassumed to have a set of machines 102 a-n distributed around theInternet. Typically, most of the machines are servers located near theedge of the Internet, i.e., at or adjacent end user access networks. Anetwork operations command center (NOCC) 104 manages operations of thevarious machines in the system. Third party sites, such as web site 106,offload delivery of content (e.g., HTML, embedded page objects,streaming media, software downloads, and the like) to the distributedcomputer system 100 and, in particular, to “edge” servers. Typically,content providers offload their content delivery by aliasing (e.g., by aDNS CNAME) given content provider domains or sub-domains to domains thatare managed by the service provider's authoritative domain name service.End users that desire the content are directed to the distributedcomputer system to obtain that content more reliably and efficiently.Although not shown in detail, the distributed computer system may alsoinclude other infrastructure, such as a distributed data collectionsystem 108 that collects usage and other data from the edge servers,aggregates that data across a region or set of regions, and passes thatdata to other back-end systems 110, 112, 114 and 116 to facilitatemonitoring, logging, alerts, billing, management and other operationaland administrative functions. Distributed network agents 118 monitor thenetwork as well as the server loads and provide network, traffic andload data to a DNS query handling mechanism 115, which is authoritativefor content domains being managed by the CDN. A distributed datatransport mechanism 120 (comprising a metadata control server and a setof staging servers) may be used to distribute control information (e.g.,metadata to manage content, to facilitate load balancing, and the like)to the edge servers.

As illustrated in FIG. 2, a given machine 200 comprises commodityhardware (e.g., an Intel Pentium processor) 202 running an operatingsystem kernel (such as Linux or variant) 204 that supports one or moreapplications 206 a-n. To facilitate content delivery services, forexample, given machines typically run a set of applications, such as anHTTP proxy 207 (sometimes referred to as a “global host” or “ghost”process), a name server 208, a local monitoring process 210, adistributed data collection process 212, and the like. The For streamingmedia, the machine typically includes one or more media servers, such asa Windows Media Server (WMS) or Flash server, as required by thesupported media formats.

A CDN edge server is configured to provide one or more extended contentdelivery features, preferably on a domain-specific, customer-specificbasis, preferably using configuration files that are distributed to theedge servers using a configuration system. A given configuration filepreferably is XML-based and includes a set of content handling rules anddirectives that facilitate one or more advanced content handlingfeatures. The configuration file may be delivered to the CDN edge servervia the data transport mechanism. U.S. Pat. No. 7,111,057 illustrates auseful infrastructure for delivering and managing edge server contentcontrol information, and this and other edge server control informationcan be provisioned by the CDN service provider itself, or (via anextranet or the like) the content provider customer who operates theorigin server. U.S. Pat. No. 7,240,100 describes techniques for applyingthe edge server content control information at the edge server. The CDNmay include a storage subsystem, such as described in U.S. Pat. No.7,472,178. The CDN also may operate a server cache hierarchy to provideintermediate caching of customer content; one such cache hierarchysubsystem is described in U.S. Pat. No. 7,376,716. These disclosures areincorporated herein by reference.

The CDN may provide secure content delivery such as described in U.S.Publication No. 20040093419, or as described in U.S. Pat. No. 7,363,361.Secure content delivery as described therein enforces SSL-based linksbetween the client and edge server process, on the one hand, and betweenthe edge server process and an origin server process, on the other hand.This enables an SSL-protected web page and/or components thereof to bedelivered (to the end user client browser) via the edge server.Typically, an SSL-protected web page is served to an end user processwhen an end user navigates to a web site merchant checkout page from ane-commerce web site that is being delivered via the CDN). The merchantcheckout page typically is delivered from the origin server (not theCDN) and, in particular, from an application server (within the origininfrastructure) that comprises part of an order management system orgateway. In the past, the CDN service provider has not been involved inthe processing of the actual order, in large part due to the sensitivityof handling credit card data during the payment transaction itself. Asnoted above, this techniques disclosed herein enable the CDN serviceprovider to facilitate the payment transaction.

As used herein, the term “sensitive data” should be broadly construed,depending on the context. Thus, for example, in connection with ane-commerce transaction, which is the preferred embodiment, the termtypically refers to any PCI sensitive data, such as credit or debit cardnumber, bank account number, and the like. The “sensitive data” also maybe identity information (such as personally identifiable information(PII)), health care information (such as HIPAA-related data), financeinformation (such as GLBA-related data), other confidential information,and the like.

Handling Sensitive Data

As noted above, the distributed and shared network infrastructure asdescribed above is used, among other purposes, to deliver content fromweb sites, typically the web sites of CDN customers. Representative websites include e-commerce retailers at which end users may shop andpurchase products and services. In the prior art, CDN service providersprovide the content delivery for these on-line retailers but, when itcomes time for an end user to complete a purchase, the associatedpayment services are handled by third parties. This is the case even ifthe CDN provides secure content delivery, e.g., over SSL or TLS links,such as described in U.S. Publication No. 20040093419.

The disclosed subject matter extends the CDN infrastructure tofacilitate payment services within that infrastructure. Because theproviding of payment services involves the handling of end user creditcard and other sensitive user data, there is a need to enhance theoperation of the CDN to ensure that such data remains fully protected. Amethod of securing sensitive data (e.g., end user credit cardinformation) is described below. In short, the technique allows the CDNservice provider to process credit cards (and perhaps other personallyidentifiable information or “PII”) without storing any data that couldbe exploited by a hacker to retrieve the actual card numbers (or otherPII). Even if a hacker recovered everything that the CDN has stored, thehacker would not be able to reveal any confidential information.

The high level technique is now described. According to this disclosure,and in the context of protecting PCI data, a CDN key pair (PK_I, SK_I)is created for each card issuer I (e.g., VISA or AMEX). Thus, for issuerI, PK_I is the public key, and SK_I is the secret key. According to thisdisclosure, the value of SK_I is not stored on or in association withthe CDN but, rather, only at the site of card issuer I (or some otherlocation designated by the issuer but, once again, not on the CDN).

An end user visits the e-commerce web site in the usual manner.Typically, the CDN serves the non-secure pages of the site in the usualmanner, such as described in U.S. Pat. No. 7,596,619. As the end usernavigates through the site, he or she may identify certain products orservices that he or she desires to purchase. One common technique thatis used for this purpose is to associate a “shopping cart” (or, moregenerally, a data structure) with the user's browsing session. When theuser selects an item for purpose, information about the item is storedin the cart. Then, when the user indicates a desire to “checkout” fromthe site (i.e., to purchase the items in the shopping cart), typicallythe CDN sets up a pair of SSL-links (although the shopping session mayhave initiated over SSL). In the usual case, a first secure link isestablished between the end user browser and the edge server, and asecond link is established between the edge server and the origin serverorder management application.

After the SSL links are established, the origin server typically servesa “checkout” page. The end user then enters his or her credit card orother PII-related information, and hits “enter” on his or her browser.This creates an HTTP POST message, which includes the sensitive data.The sensitive data thus is received at the CDN edge server. According tothe subject disclosure, however, instead of passing this data on throughto the origin server, the edge server recognizes the POST, removes thePCI data, and computes a function. In particular, if the end user'scredit card (CC) is from some issuer J, the CDN edge server processcomputes V=PK_J (CC) and then immediately discards the true credit cardCC. In particular, the CC data is not stored on disk or other persistentstore, and in-memory storage is kept to a minimum (just what isnecessary to facilitate the above-described computation). According tothis disclosure, all future processing of the card (and thus the CC) isdone using V.

Preferably, the edge server maintains a database of tokens. The databasemay be in the form of an array, a linked list, an index table, or anyother convenient data structure. A hash table may also be used. A token(or, more generally, a “data string”) associates a value V with anidentifier W associated with a web site (or portion thereof, includingsub-domain). In response to receipt of the POST and the calculation ofthe value V, the edge server process then performs a lookup in thedatabase to determine if the CDN has processed V for this web site W. Ifso, a token T for (V, W) will be present in the database. If (as aresult of the lookup) it is determined that the CDN has processed V forthis web site W before, the edge server sends the token T for (V, W) tothe order management system to which the edge server is now coupled (onits forward processing side). If, however, it is determined that the CDNhas not processed V for this site (because there is no such token in thedatabase), the server randomly creates a new token T for (V, W). The newtoken is unique for W. The edge server process adds the new token to itsdatabase and then sends T to the web site over the forward connection.

The processing of tokens proceeds in the natural way until the web siteorder management system wants the CDN to process a request forauthorization, or request for payment for a token T. The ordermanagement system communicates with the edge server process over theconnection that is maintained (preferably in a persistent manner)between the two. When the edge server receives a response from the ordermanagement system indicating that the CDN edge server process shouldthen “authorize” the transaction or make the actual payment request, theCDN edge server uses the token T and the value W to retrieve the valueof V. The CDN edge server processor then opens up a new connection, to acard issuer network for J. Because the CDN edge server no longermaintains CC, however, it cannot transmit it; instead, the CDN edgeserver just sends V to the card issuer network. This value is sent viaan intermediate (or subordinate) request, as the request typically ismade while the overall checkout process is on-going. In a processexternal to the CDN, the card issuer J (or its delegate) then uses thesecret key value SK_J to decrypt and retrieve CC.

For additional security, the decryption by or on behalf of card issuer Jusing SK_J preferably is done only if the transmission of V has beenauthenticated to have come from a CDN server.

A key advantage to this approach is security. Even if the CDN edgeserver is compromised, no credit card data is lost because the CDN edgeserver does not maintain such data. Moreover, because only the secretkey SK_J can be used to retrieve the card numbers, access to the CDNedge server does not compromise the PCI data, because the secret keypreferably resides only at the issuer (or on some server that the issuerhas some degree of control over). (A CDN server may also be positionedat the card issuer). Thus, using this approach, a CDN service providerhas no greater risk of exposure for payment services than it would if itwere just passing the credit card to the CDN customer. Indeed, the riskis lower because the CDN provider no longer sends the card anywhereusing the described above. While it is possible that the values of PK_J(CC) might be exposed by a hacker, these values are only of use if theyare sent by the CDN. Thus, if PK_J (CC) is sent by another entity, thenthe card issuer would have knowledge, a priori, that the edge server hasbeen compromised (and the value stolen) because it would have beenencrypted using a CDN service provider key pair but not sent from a CDNmachine.

FIG. 3 illustrates a typical use case scenario. In this example, theclient browser (or equivalent rendering engine) sends an HTTP POST (orequivalent) message to the edge server 300 during an order checkout tothe merchant origin server 302. Origin server 302 has an associatedorder management system and database 304. The edge server 300 alsointerfaces to a card issuer payment gateway 306 that is associated withpayment gateway database 308. The edge server comprises a tokendatabase, a public key PK associated with each issuer (such as theissuer associated with gateway 306), together with software (one or morecomputer programs, processes, utilities or the like) to carry out theabove-described functionality. In particular, this software receives theHTTP POST, parses it to remove the sensitive data, generates the valueV, retrieves (or creates the token T), and forwards the POST with thesensitive data replaced with the token. When the merchant origin server302 requests transaction authorization or payment (e.g., by returningthe token T), the CDN edge server performs this function by making theintermediate (subordinate) request to the payment gateway (which holdsthe secret key SK needed), passing the value V, and receiving theresponse (e.g., the payment authorization or the like). In this manner,the edge server performs or facilitates the payment service withoutexposing the sensitive data, which is deleted upon generation of thevalue.

The disclosed technique may have many variants. Thus, for example,instead of discarding the CC, the CDN edge server process may maintainsome small portion thereof, such as the last four (4) digits, or somearbitrary CDN customer-defined data payload. As another alternative, theedge server process may first pad the CC with CDN-specific data beforegenerating PK_J (CC). Optionally, the edge server process may extendthis step to add other obfuscation data to prevent rainbow attacksagainst the token store. The functionality described herein may be usedwith or without credit card tokenization, which is a technique whereby acredit card number is exchanged with a token (by a third party tokenprovider).

As another variant, the encryption step may be carried out on an enduser device using CDN-provided client software, thereby ensuring thatthe credit card number is never even received with the edge serverinfrastructure.

The public key PK_J may be maintained secret for added security.

In another alternative approach, a second level of encryption using asecret CDN key is also used. In this approach, a public decryption keyis then provided to the card issuer (or its delegate). This enables anextra level of authentication, namely, a way to verify that thetransmission comes from the CDN and not some unauthorized intermediary.Other cryptographic techniques may be used as required. Thus, forexample, the edge server may apply a digital signature to the value V.

The method described here covers the case where the protectedinformation (e.g. a credit card number) only needs to be sent to asingle entity (e.g., the network for the card issuer). The subjectdisclosure is not limited to this scenario. In the event the sensitivedata (e.g., a medical record or the like) needs to be sent to multipleentities (e.g., various hospitals), then the edge server process createsand stores an encrypted copy of the data for each entity that requiresit (using the secret key for each such entity). This requires that theCDN know ahead of time the identities of those entities. If this is notpossible, the CDN service provider may retain a copy of a secret key ina highly secure location and manner so that it can recover the originalversion of the protected information (and, in particular, so that itcould be encrypted later using an as-yet unknown public key).

The above-described technique may be used to secure any sensitive datawithin the context of a CDN service.

The above-described edge server process preferably is implemented incomputer software as a set of program instructions executable in one ormore processors, as a special-purpose machine. In one embodiment, theedge server process is an HTTP proxy that has been enhanced to providethe recited functions. Typically, an instance of the process isinstantiated per HTTP request received from an end user browser, andthat process instance maintains appropriate data structures tofacilitate the processing described. The edge server process comprises afront end portion to which the client browser is coupled, and a back endportion to which the process is coupled to the origin server gateway (orthe card issuer network, as described). The edge server process iscapable of opening up and maintaining multiple connections. Control overthe edge server process may be maintained using XML-based metadataprovided to the edge server. Thus, because the edge server typically ishandling content for multiple CDN customers, each CDN customer mayprovide its own unique configuration that is enforced at the edgeserver.

Representative machines on which the subject matter herein is providedmay be Intel Pentium-based computers running a Linux or Linux-variantoperating system and one or more applications to carry out the describedfunctionality. One or more of the processes described above areimplemented as computer programs, namely, as a set of computerinstructions, for performing the functionality described.

Having described our invention, what we now claim is set forth below.

The invention claimed is:
 1. A method to protect sensitive data,comprising: receiving a message that includes sensitive data, themessage directed to a third party domain; determining an identity of anissuing entity associated with the sensitive data; parsing the messageto extract at least a portion of the sensitive data; applying to theportion of the sensitive data extracted a public key of the issuingentity whose identity was determined to generate a value V; determiningwhether the value V is associated with an identifier W associated withthe third party domain; in response to determining that the value V isassociated with an identifier W associated with the third party domain,retrieving a token T that associates (V,W), and forwarding the messageincluding the token onward to the third party domain; in response todetermining that the value V is not associated with an identifier Wassociated with the third party domain, generating a new token thatassociates (V,W), and forwarding the message including the new tokenonward to the third party domain; receiving a response from the thirdparty domain that includes one of: the token and the new token,previously forwarded with the message; in response to receiving theresponse from the third party domain, retrieving the value V and issuinga new request including the value V, the new request issued to acomputing entity at which a secret key associated with the public key isavailable; and receiving a response from the computing entity indicatingthat a transaction associated with the sensitive data is authorized toproceed, the computing entity having applied the secret key to the valueV to identify the sensitive data; wherein one or more operations of themethod are carried out in software executing in a hardware processor. 2.The method as described in claim 1 wherein the sensitive data is PCIdata.
 3. The method as described in claim 2 wherein the PCI data is acredit card number.
 4. The method as described in claim 1 wherein theoperation of retrieving the value V and issuing a new request includesusing the token or new token received from the third party domaintogether with the value W to retrieve the value V.
 5. The method asdescribed in claim 1 wherein the response from the third party domain isa payment request.
 6. The method as described in claim 1 wherein theoperation of applying to the sensitive data the public key of theissuing entity includes padding the sensitive data with given databefore applying the public key.
 7. The method as described in claim 6wherein the given data is data associated with a content deliverynetwork.
 8. The method as described in claim 6 wherein the given data isobfuscation data to prevent a rainbow attack.
 9. The method as describedin claim 1 wherein the portion of the sensitive data extracted is all ofthe sensitive data in the message body.
 10. The method as described inclaim 1 wherein the portion of the sensitive data extracted isconfigurable.